<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>食品经营许可证</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <link rel="stylesheet" href="#(basePath)/static/jquery-weui/css/weui.min.css">
    <link rel="stylesheet" href="#(basePath)/static/jquery-weui/css/jquery-weui.min.css">
    <link rel="stylesheet" href="#(basePath)/static/web/index/css/index.css">
</head>
<body>
<div class="page">
    <div class="page__hd">
        <header class="weui-header">
            <h1 class="weui-header-title">《食品经营许可证》<br/>注销</h1>
        </header>
    </div>
    <div class="page__bd page__bd_spacing">
        <form action="#(basePath)/wfw/spyxmp/spjyxkz/save" id="form" data-role="form">
            <input type="hidden" name="sblx" value="#(sblx)">
            <input type="hidden" name="sblsh" value="#(sblsh)">
            <input type="hidden" name="type" value="2">
            <div class="weui-cells__title">食品经营许可证号</div>
            <div class="weui-cells">
                <div class="weui-cell weui-cell_select weui-cell_select-before">
                    <div class="weui-cell__hd">
                        <select class="weui-select" name="spjyxkzPrefix">
                            <option value="JY">JY</option>
                        </select>
                    </div>
                    <div class="weui-cell__bd weui-cell__primary">
                        <input class="weui-input" type="number" name="spjyxkzhHz" data-name="spjyxkz" value="#(data.spjyxkzh??)"
                               placeholder="请输入食品经营许可证号" required>
                        <input type="hidden" name="spjyxkzh" value="#(data.spjyxkzh??)">
                    </div>
                </div>
            </div>
            <div class="weui-cells__tips">请输入《食品经营许可证》编号“JY”后面几位</div>
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">联系人名称</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="text" name="lxr" value="#(data.lxr??==null?session.wxUserInfo.name:data.lxr??)"
                               placeholder="请输入联系人名称" required>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">联系人电话</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="tel" name="lxrdh" value="#(data.lxrdh??==null?session.wxUserInfo.phone:data.lxrdh??)"
                               placeholder="请输入联系人电话" required>
                    </div>
                </div>
                <div class="weui-cell weui-cell__title">
                    注销原因？
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="请输入注销原因" rows="3" required name="reason">#(data.reason??)</textarea>
                    </div>
                </div>
            </div>
            <div class="weui-cells weui-cells_radio weui-cells_radio_native">
                <div class="weui-cell weui-cell__title">
                    是否具备原件？
                </div>
                <label class="weui-cell weui-check__label" for="sfjbyj1">
                    <div class="weui-cell__bd">
                        <input type="radio" class="weui-check" name="sfjbyj" value="1" id="sfjbyj1" required #(data.sfjbyj??=="1"?"checked":"")>
                        <span>是</span>
                    </div>
                </label>
                <label class="weui-cell weui-check__label" for="sfjbyj0">
                    <div class="weui-cell__bd">
                        <input type="radio" class="weui-check" name="sfjbyj" value="0" id="sfjbyj0" required #(data.sfjbyj??=="0"?"checked":"")>
                        <span>否</span>
                    </div>
                </label>
            </div>
            #set(clxs=data.sfjbyj??=="0"?"block":"none")
            <div id="material" style="display: #(clxs);">
                <div data-role="upload"
                     data-content='{"label": "遗失证明", "params": {"tableName": "SPYXMP_SPJYXKZ", "sblsh":"#(data.APPLYID??)"}}'>
                </div>
            </div>
            #set(yzxs=data.sfjbyj??=="1"?"block":"none")
            <div id="yzxx" style="display: #(yzxs);">
                <div class="weui-cells__title">邮寄信息</div>
                <div class="weui-cells">
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">邮寄人名称</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="text" name="yjr" value="#(data.yjr??)"
                                   placeholder="请输入邮寄人名称" required>
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">邮寄人电话</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="mailPhone" name="yjrdh" value="#(data.yjrdh??)"
                                   placeholder="请输入邮寄人电话" required>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell__title">
                        邮寄地址
                        <label style="font-size: 10px;color: red;">&nbsp;仅限东莞地区，格式：广东省东莞市xxxx</label>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__bd">
                            <textarea class="weui-textarea" placeholder="请输入邮寄地址" rows="3" required name="yjrdz">#(data.yjrdz??)
                            </textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div class="weui-btn-area">
                #if(model??=="readonly")
                <a href="#(basePath)/wfw/spyxmp/applyItem/toSbls" class="weui-btn weui-btn_primary">返回申报历史</a>
                #else
                <button class="weui-btn weui-btn_primary" type="submit">提交申请</button>
                #end
            </div>
            <br><br>
        </form>

    </div>

    <div class="page__footer">

        #include("/WEB-INF/main/footer-spyxmp.html")
    </div>
</div>
<script src="#(basePath)/static/layer/layer.js"></script>
<script src="#(basePath)/static/js/weuiUpload.js"></script>
<script src="#(basePath)/static/web/spyxmp/js/xkzbh.js"></script>
<script src="#(basePath)/static/web/spyxmp/js/zxxx.js"></script>
</body>
</html>